﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp3
{
    class duck:animal,Iswim
    {
        public duck(string name): base(name)
        { }
        public void swim()
        {
            base.Iseat(Name);
            Console.WriteLine("{0}会游泳",Name);
        }
    }
}
